package com.probox.common.entity.domain.customer;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.probox.common.core.annotation.Excel;

/**
 * 客户分群特征对象 customer_groupdefinition_info
 *
 * @author usoft
 * @date 2021-07-16
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("customer_groupdefinition_info")
@ApiModel(description = "客户分群特征")
public class CustomerGroupdefinitionInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 客户分群特征ID
     */
    //默认主键自增
    @TableId(value = "CUSTOMER_GROUPDEFINITION_UID", type = IdType.AUTO)
    private Long customerGroupdefinitionUid;

    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformId;

    /**
     * 分群特征ID
     */
    @Excel(name = "分群特征ID")
    @ApiModelProperty(value = "分群特征ID")
    private Long definitionUid;

    /**
     * 分群ID
     */
    @Excel(name = "分群ID")
    @ApiModelProperty(value = "分群ID")
    private Long groupUid;

    /**
     * 分群特征对应的值
     */
    @Excel(name = "分群特征对应的值")
    @ApiModelProperty(value = "分群特征对应的值")
    private String definitionValue;

    /**
     * 分群特征对应的区间值
     */
    @Excel(name = "分群特征对应的区间值")
    @ApiModelProperty(value = "分群特征对应的区间值")
    private String definitionSectionvalue;

    /**
     * 分群特征对应的单位
     */
    @Excel(name = "分群特征对应的单位")
    @ApiModelProperty(value = "分群特征对应的单位")
    private String definitionUnitvalue;



    /**
     * 分群特征状态
     */
    @Excel(name = "分群特征状态")
    @ApiModelProperty(value = "分群特征状态")
    private String definitionStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private Long createUser;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    @ApiModelProperty(value = "修改人")
    private Long updateUser;

    /**
     * 状态，1有效，0无效，-1删除
     */
    @Excel(name = "状态，1有效，0无效，-1删除")
    @ApiModelProperty(value = "状态，1有效，0无效，-1删除")
    private String dataStatus;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    @ApiModelProperty(value = "创建人名称")
    private String createName;

    /**
     * 修改人名称
     */
    @Excel(name = "修改人名称")
    @ApiModelProperty(value = "修改人名称")
    private String updateName;


}
